| Version | ID |
|---|---|
| 1.13.2 | 0x26 |
| 1.15.2 | 0x27 |
| Packet ID | State | Bound To | Field Name | Field Type | Notes | ||
|---|---|---|---|---|---|---|---|
| 0x27 | Play | Client | Map ID | VarInt | Map ID of the map being modified | ||
| Scale | Byte | From 0 for a fully zoomed-in map (1 block per pixel) to 4 for a fully zoomed-out map (16 blocks per pixel) | |||||
| Tracking Position | Boolean | Specifies whether player and item frame icons are shown | |||||
| Locked | Boolean | True if the map has been locked in a cartography table | |||||
| Icon Count | VarInt | Number of elements in the following array | |||||
| Icon | Type | Array | VarInt enum | See below | |||
| X | Byte | Map coordinates: -128 for furthest left, +127 for furthest right | |||||
| Z | Byte | Map coordinates: -128 for highest, +127 for lowest | |||||
| Direction | Byte | 0-15 | |||||
| Has Display Name | Boolean | ||||||
| Display Name | Optional Chat | Only present if previous Boolean is true | |||||
| Columns | Unsigned Byte | Number of columns updated | |||||
| Rows | Optional Byte | Only if Columns is more than 0; number of rows updated | |||||
| X | Optional Byte | Only if Columns is more than 0; x offset of the westernmost column | |||||
| Z | Optional Byte | Only if Columns is more than 0; z offset of the northernmost row | |||||
| Length | Optional VarInt | Only if Columns is more than 0; length of the following array | |||||
| Data | Optional Array of Unsigned Byte | Only if Columns is more than 0; see Map item format | |||||
| Packet ID | State | Bound To | Field Name | Field Type | Notes | ||
|---|---|---|---|---|---|---|---|
| 0x26 | Play | Client | Map ID | VarInt | Map ID of the map being modified | ||
| Scale | Byte | From 0 for a fully zoomed-in map (1 block per pixel) to 4 for a fully zoomed-out map (16 blocks per pixel) | |||||
| Tracking Position | Boolean | Specifies whether player and item frame icons are shown | |||||
| Locked | Boolean | True if the map has been locked in a cartography table | |||||
| Icon Count | VarInt | Number of elements in the following array | |||||
| Icon | Type | Array | VarInt enum | See below | |||
| X | Byte | Map coordinates: -128 for furthest left, +127 for furthest right | |||||
| Z | Byte | Map coordinates: -128 for highest, +127 for lowest | |||||
| Direction | Byte | 0-15 | |||||
| Has Display Name | Boolean | ||||||
| Display Name | Optional Chat | Only present if previous Boolean is true | |||||
| Columns | Unsigned Byte | Number of columns updated | |||||
| Rows | Optional Byte | Only if Columns is more than 0; number of rows updated | |||||
| X | Optional Byte | Only if Columns is more than 0; x offset of the westernmost column | |||||
| Z | Optional Byte | Only if Columns is more than 0; z offset of the northernmost row | |||||
| Length | Optional VarInt | Only if Columns is more than 0; length of the following array | |||||
| Data | Optional Array of Unsigned Byte | Only if Columns is more than 0; see Map item format | |||||
| Packet ID | State | Bound To | Field Name | Field Type | Notes | ||
|---|---|---|---|---|---|---|---|
| 0x26 | Play | Client | Map ID | VarInt | Map ID of the map being modified | ||
| Scale | Byte | From 0 for a fully zoomed-in map (1 block per pixel) to 4 for a fully zoomed-out map (16 blocks per pixel) | |||||
| Tracking Position | Boolean | Specifies whether player and item frame icons are shown | |||||
| Icon Count | VarInt | Number of elements in the following array | |||||
| Icon | Type | Array | VarInt enum | See below | |||
| X | Byte | Map coordinates: -128 for furthest left, +127 for furthest right | |||||
| Z | Byte | Map coordinates: -128 for highest, +127 for lowest | |||||
| Direction | Byte | 0-15 | |||||
| Has Display Name | Boolean | ||||||
| Display Name | Optional Chat | Only present if previous Boolean is true | |||||
| Columns | Unsigned Byte | Number of columns updated | |||||
| Rows | Optional Byte | Only if Columns is more than 0; number of rows updated | |||||
| X | Optional Byte | Only if Columns is more than 0; x offset of the westernmost column | |||||
| Z | Optional Byte | Only if Columns is more than 0; z offset of the northernmost row | |||||
| Length | Optional VarInt | Only if Columns is more than 0; length of the following array | |||||
| Data | Optional Array of Unsigned Byte | Only if Columns is more than 0; see Map item format | |||||